/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Frame;

import sun.applet.Main;

/**
 *
 * @author wagner
 */
public class Inicial extends javax.swing.JFrame {

    /**
     * Creates new form Inicial
     */
    public Inicial() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        bindingGroup = new org.jdesktop.beansbinding.BindingGroup();

        Jogar = new javax.swing.JButton();
        jLabel2 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jButton1 = new javax.swing.JButton();
        Sair = new javax.swing.JButton();
        jLabel7 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabelFundo = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("BancoImobiliario");
        setPreferredSize(new java.awt.Dimension(1500, 750));
        getContentPane().setLayout(null);

        Jogar.setBackground(new java.awt.Color(207, 207, 207));
        Jogar.setFont(new java.awt.Font("Ubuntu", 1, 24)); // NOI18N
        Jogar.setForeground(new java.awt.Color(254, 251, 253));
        Jogar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/JogarPequeno2.png"))); // NOI18N
        Jogar.setToolTipText("Jogar");
        Jogar.setBorderPainted(false);
        Jogar.setContentAreaFilled(false);
        Jogar.setDefaultCapable(false);
        Jogar.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/JogarGrande2.png"))); // NOI18N
        Jogar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                JogarActionPerformed(evt);
            }
        });
        getContentPane().add(Jogar);
        Jogar.setBounds(470, 220, 310, 90);

        jLabel2.setIcon(new javax.swing.ImageIcon("/home/wagner/NetBeansProjects/JavaApplication4/angry-bird-yellow-iconmenor.png")); // NOI18N

        org.jdesktop.beansbinding.Binding binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, jLabel2, org.jdesktop.beansbinding.ELProperty.create("${background}"), jLabel2, org.jdesktop.beansbinding.BeanProperty.create("foreground"));
        bindingGroup.addBinding(binding);

        getContentPane().add(jLabel2);
        jLabel2.setBounds(880, 560, 140, 140);

        jLabel5.setIcon(new javax.swing.ImageIcon("/home/wagner/NetBeansProjects/JavaApplication4/angry-bird-icon.menor.png")); // NOI18N
        getContentPane().add(jLabel5);
        jLabel5.setBounds(550, 600, 120, 120);

        jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/instruçõespequeno2.png"))); // NOI18N
        jButton1.setBorderPainted(false);
        jButton1.setContentAreaFilled(false);
        jButton1.setDefaultCapable(false);
        jButton1.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/instruçõesGrande2.png"))); // NOI18N
        getContentPane().add(jButton1);
        jButton1.setBounds(450, 320, 360, 100);

        Sair.setFont(new java.awt.Font("Ubuntu", 0, 24)); // NOI18N
        Sair.setForeground(new java.awt.Color(254, 254, 254));
        Sair.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/SairPequeno2.png"))); // NOI18N
        Sair.setBorderPainted(false);
        Sair.setContentAreaFilled(false);
        Sair.setDefaultCapable(false);
        Sair.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/SairGrande2.png"))); // NOI18N
        Sair.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                SairActionPerformed(evt);
            }
        });
        getContentPane().add(Sair);
        Sair.setBounds(440, 430, 380, 90);

        jLabel7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/coollogo_com-5744123.png"))); // NOI18N
        getContentPane().add(jLabel7);
        jLabel7.setBounds(150, -10, 1030, 144);

        jLabel6.setIcon(new javax.swing.ImageIcon("/home/wagner/NetBeansProjects/JavaApplication4/QuaseFundo.png")); // NOI18N
        getContentPane().add(jLabel6);
        jLabel6.setBounds(330, 190, 640, 370);

        jLabel3.setIcon(new javax.swing.ImageIcon("/home/wagner/NetBeansProjects/JavaApplication4/angry-bird-green-iconTAB.png")); // NOI18N
        getContentPane().add(jLabel3);
        jLabel3.setBounds(170, 600, 100, 110);

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/NomeQuixada_1.png"))); // NOI18N
        getContentPane().add(jLabel1);
        jLabel1.setBounds(410, 100, 750, 81);

        jLabel4.setIcon(new javax.swing.ImageIcon("/home/wagner/NetBeansProjects/JavaApplication4/angry-bird-black-iconTAB.png")); // NOI18N
        getContentPane().add(jLabel4);
        jLabel4.setBounds(360, 590, 130, 110);

        jLabelFundo.setBackground(new java.awt.Color(26, 248, 31));
        jLabelFundo.setForeground(new java.awt.Color(255, 229, 229));
        jLabelFundo.setIcon(new javax.swing.ImageIcon("/home/wagner/NetBeansProjects/JavaApplication4/Fundo1.png")); // NOI18N
        getContentPane().add(jLabelFundo);
        jLabelFundo.setBounds(0, -10, 1360, 790);

        bindingGroup.bind();

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void JogarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_JogarActionPerformed
        // TODO add your handling code here:
        EscolherPersonagem escolherPersonagem = new EscolherPersonagem();
        escolherPersonagem.setVisible(true);
        this.dispose();
       
    }//GEN-LAST:event_JogarActionPerformed

    private void SairActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_SairActionPerformed
        // TODO add your handling code here:
        System.exit(0);
    }//GEN-LAST:event_SairActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Inicial.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Inicial.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Inicial.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Inicial.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Inicial().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton Jogar;
    private javax.swing.JButton Sair;
    private javax.swing.JButton jButton1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabelFundo;
    private org.jdesktop.beansbinding.BindingGroup bindingGroup;
    // End of variables declaration//GEN-END:variables
}
